Why am I getting an error when checking if an array contains a value in PostgreSQL

join shbcf.ru